import Layout from '@/layout';

const assetReceive = [
  {
    path: '/inventory-task',
    redirect: '/inventory-task/index',
    name: 'inventory-task',
    meta: { title: '盘点任务' },
    component: Layout,
    children: [
      {
        path: '',
        name: '',
        component: () => import('@/views/inventory-task'),
        meta: { title: '盘点任务' }
      },
      {
        path: '/inventory-detail',
        name: 'inventory-detail',
        component: () => import('@/views/inventory-task/inventory-detail'),
        meta: { title: '盘点任务详情' }
      },
      {
        path: '/reported-lost',
        name: 'reported-lost',
        component: () => import('@/views/inventory-task/reported-lost'),
        meta: { title: '上报遗失' }
      }
    ]
  }
];

export default assetReceive;
